<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html 
	xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"    
    xmlns:p="http://primefaces.org/ui">
    

						
<f:view contentType="text/html" id="fview">

    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Inventario</title>
    <ui:debug />
    <f:metadata>
        <ui:insert name="metadata" />
    </f:metadata>

    <h:head>
				
    </h:head>

    <h:body>
 		<ui:insert name="h1" />   	
    	<h:form>
    		<p:menubar>		    	
			        <p:submenu label="Producto">
		            <p:menuitem value="Nuevo"  icon="ui-icon-disk" action="#{menuBean.nuevoProducto}" ajax="false"  />
		            <p:menuitem value="Lista"  icon="ui-icon-newwin" action="#{menuBean.listaProducto}" />
		        </p:submenu>
		         <p:submenu label="Inventario">
		            <p:menuitem value="Nuevo"  icon="ui-icon-disk" action="#{menuBean.nuevoInventario}" ajax="false" />
		            <p:menuitem value="Lista"  icon="ui-icon-newwin" action="#{menuBean.listaInventario}" />
		        </p:submenu>
		        <p:submenu label="Transaccion">
                    <p:menuitem value="Nueva"  icon="ui-icon-disk" action="#{menuBean.nuevaTransaccion}" ajax="false" />
                    <p:menuitem value="Lista" icon="ui-icon-newwin" action="#{menuBean.listaTransaccion}" />
                </p:submenu>	
		    
		    </p:menubar>
	</h:form>
	<ui:insert name="content"></ui:insert>
    </h:body>
	<ui:include src="/includes/notificacion.xhtml" />
</f:view>
</html>
